package com.thermofisher.dsc.amanda.auth.service;

import com.thermofisher.dsc.amanda.model.dto.auth.JwtLoginRequest;
import com.thermofisher.dsc.amanda.model.po.auth.User;
import java.util.List;

/**
 * Created by wenjie.yang on 1/3/2019.
 */
public interface UserService {

  /**
   *
   * @param loginUser
   * @return
   */
  String login(JwtLoginRequest loginUser) throws Exception;

  User getUser();

  List<Long> getCurrentHierarchyUserIds(Long currentId,List<Long> ids);

  String authLogin(String username, Long createLong) throws Exception;

  boolean isValidFromThridParty(String message, String signature);
}
